home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
- Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
- Date: Sun, 07 Apr 96 18:58:31 GMT
- Organization: none
- Message-ID: <828903511snz@genesis.demon.co.uk>
- References: <dewar.828846122@schonberg>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <dewar.828846122@schonberg> dewar@cs.nyu.edu "Robert Dewar" writes:
-
- >"Well, POSIX is IEEE standard 1003. I don't think SPEC1170 and XPG are
- >national/international standards but are something you have to conform to
- >if you want to call your OS UNIX(tm).
- >"
- >
- >This is plain wrong! There are lots of unixes out there that call themselves
- >UNIX and do not conform exactly to SPEC1170.
-
- No, they call themselves Unix. They *cannot* call themselves UNIX(tm).
-
- >Consider for example, also answering your question about ANSI being
- >a misleadng guide to portability, the return type of sprintf. I don't
- >have SPEC1170 on hand, but it is a good guess that it is ANSI compliant
- >here (return type int), but BSD heritage unices (like SunOS) return
- >char *.
-
- In any ANSI compiler/library sprintf returns int. Tell me of any modern
- system which doesn't make the correct functionality available in a library,
- if not the default. These days this is a non-issue with regards to
- portability (even considering Sun systems).
-
- >and prey who enforces this rule?
-
- X/Open own the UNIX trademark and have the legal right to enforce it.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-